import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'index',
    component: () => import('../views/index.vue')
  },
  {
    path: '/foreword',
    name: 'foreword',
    component: () => import('../views/foreword.vue')
  },
  {
    path: '/catalogue',
    name: 'catalogue',
    component: () => import('../views/catalogue.vue')
  },
  {
    path: '/end',
    name: 'end',
    component: () => import('../views/end.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
